package com.zmn.oms.dubbo.interfaces.quotation;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.dio.quotation.QuotationOrderWorkAddDIO;
import com.zmn.oms.dubbo.dto.zmn.order.NewOrderDRO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 类描述：计价器远程接口服务
 *
 * @author wangxiaokun
 * @since 2021/04/01 10:35
 */
@Api(
        value = "计价器工单",
        tags = {"计价器工单"}
)
public interface QuotationOrderWorkRemoteService {

    @ApiOperation(
            value = "新增计价器工单",
            response = ResponseDTO.class,
            tags = {"计价器工单"}
    )
    ResponseDTO<NewOrderDRO> addQuotationOrder(@NotNull(message = "入参不能为空") @ApiParam(value = "入参", required = true)
                                          QuotationOrderWorkAddDIO quotationOrderWorkAddDIO);

}
